﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Linq.Expressions;
using Base.Learn.Entieys;

namespace 表达式树
{
    public class SQLToTree
    {

        public static void Demo()
        {
            DepartmentEntity entity = new DepartmentEntity();
            Expression<Func<DepartmentEntity, bool>> filter = (i => true);
            filter = filter.And(i => i.Level == 1);

        }



    }
}
